﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Venta_Automatica.Models.ListarClienteModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	EliminarCliente
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Eliminar Cliente</h2>

    <h3>Seguro de eliminar este registro?</h3>
    <fieldset>
        <legend>Datos</legend>
        <% if (Model != null)
           {
                %>
                    <div class="display-label">dni</div>
                    <div class="display-field"><%: Model.dni%></div>
        
                    <div class="display-label">Nombres</div>
                    <div class="display-field"><%: Model.Nombres%></div>
        
                    <div class="display-label">apePat</div>
                    <div class="display-field"><%: Model.apePat%></div>
        
                    <div class="display-label">apeMat</div>
                    <div class="display-field"><%: Model.apeMat%></div>
        
                    <div class="display-label">LineaCredito</div>
                    <div class="display-field"><%: Model.LineaCredito%></div>
                    
    </fieldset>
        <% using (Html.BeginForm()) { %>
        <p>
		    <input type="submit" value="Eliminar Cliente" />
        </p>
        <% } %>
    <% } %>
        <h2><%: ViewData["Message"] %></h2>
    <div>
        <%: Html.ActionLink("Página Principal", "Index", "Home")%> |  
        <%: Html.ActionLink("Regresar Listado", "MantCliente", "Cliente")%>
    </div>


</asp:Content>

